From 37b23927c49c7ba0ed1bafcfe0993d348867b224 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Tue, 1 Aug 2017 19:18:39 +0100 Subject: [PATCH] Stack: Fix copy-paste error This fixes Coverity CID 1452217. --- gtk/gtkstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c index b77bde2cf6..f64f763eda 100644 --- a/gtk/gtkstack.c +++ b/gtk/gtkstack.c @@ -2098,7 +2098,7 @@ gtk_stack_size_allocate (GtkWidget *widget, if (valign == GTK_ALIGN_CENTER || valign == GTK_ALIGN_FILL) child_allocation.y = (allocation->height - child_allocation.height) / 2; else if (valign == GTK_ALIGN_END) - child_allocation.x = (allocation->height - child_allocation.height); + child_allocation.y = (allocation->height - child_allocation.height); } gtk_widget_size_allocate (priv->visible_child->widget, &child_allocation, -1, &child_clip); -- 2.30.2